package com.wx.mall.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wx.mall.goods.entity.Para;
import com.wx.mall.goods.vo.resp.ParaSpecRespVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 参数表 Mapper 接口
 * </p>
 *
 * @author LiRui
 * @since 2020-03-13
 */
public interface ParaMapper extends BaseMapper<Para> {
    /**
     * 分页查询
     *
     * @param startIndex
     * @param pageSize
     * @return
     */
    List<ParaSpecRespVO> findPage(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);

    /**
     * 查询总记录数
     *
     * @return
     */
    int getRowCount();

}
